package pl.iachoo.ctl.tabory.dao.hibernate.interfaces;

import java.util.List;

import pl.iachoo.ctl.tabory.dao.hibernate.vo.CompositionVO;
import pl.iachoo.ctl.tabory.dao.hibernate.vo.VagonVO;

public interface IVagonService {

	public List<VagonVO> getAllVagons() throws Exception;

	public List<VagonVO> getVagons(CompositionVO composition) throws Exception;

	public VagonVO getVagon(int vagonId) throws Exception;

	public VagonVO addVagon(VagonVO vagon) throws Exception;

	public void deleteVagon(VagonVO vagon) throws Exception;
}
